﻿
namespace Tree
{
    class BiNode : Node
    {
        public BiNode(Node Left, Node Right)
        {
            _pLeft = Left;
            _pRight = Right;
        }
        

        protected virtual void Dispose(bool disposing)
        {
            if (!_disposed)
            {
                if (disposing)
                {
                    //disposed managed resource
                    _pLeft = null;
                    _pRight = null;
                }
                // release unmanaged resource
            }
            _disposed = true;

            // if available, call to base class
            // base.Dispose(disposing);
        }
        protected Node _pLeft;
        protected Node _pRight;
    }
}